<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript">
function paySucceed()
{
	document.payForm.action="payServlet?ifPaySucceed=1";
	document.payForm.submit();
}

function payFailed()
{
	document.payForm.action="payServlet?ifPaySucceed=0";
	document.payForm.submit();
}
</script>
</head>
<body>
<%//w %>
<font align="center" size=16 color=red> 用户注册 </font>
	<form name="payForm" action="" method="post">
		<table align="center" width="900">
		<tbody>
			<tr>
				<td colspan="2"><input type="button" id="succeed" value="支付成功" onclick="paySucceed()"></td>
				<td colspan="2"><input type="button" id="failed" value="支付失败" onclick="payFailed()"></td>
			</tr>
		</tbody>
		</table>
	</form>
</body>
</html>